#ifndef BAMBOOSSH_H
#define BAMBOOSSH_H

#include "libssh2/libssh2.h"

class BambooSsh
{
public:
    int sshInit = 0;
    LIBSSH2_SESSION *session;
    LIBSSH2_CHANNEL *channel;
    BambooSsh();
    ~BambooSsh();
    int init();
    int execRemoteCommand(const char *commandName);
    int auth(const char *userName,const char *password);
    int connect(const char *host,const int port);
};

#endif // BAMBOOSSH_H
